package actions;

import java.util.List;

import model.VisitorDTO;

import com.opensymphony.xwork2.ActionSupport;

import dao.DataAccessObject;

public class ToPageAction extends ActionSupport {
	DataAccessObject dao = new DataAccessObject();
	private List<VisitorDTO> vsList;
	
	
	public List<VisitorDTO> getVsList() {
		return vsList;
	}

	public void setVsList(List<VisitorDTO> vsList) {
		this.vsList = vsList;
	}

	public String toLoginPage() {
		return "success";
	}
	
	public String toHomePage() {
		return "success";
	}
	
	public String toSearchPage() {
		vsList = dao.searchRegister("");
		return "success";
	}
	public String toRegisterPage() {
		return "success";
	}
	
	public String toTourPage() {
		return "success";
	}
	public String toHelpPage() {
		return "success";
	}
}
